@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="chapterInfoForm">
            <input type="hidden" id="id" name="id" value="${item.id}">
            <input type="hidden" id="bookId" name="bookId" value="${bookId!}">

            <div class="row">
                <div class="col-sm-6 b-r">
                    <#input id="name" name="名称" value="${item.name!}" underline="true"/>
                    <#textarea id="content" name="内容" value="${item.content!}"/>
                </div>
                <div class="col-sm-6">
                    <#input id="sort" name="排序" value="${item.sort!}" underline="true"/>
                    <#input id="remarks" name="备注" value="${item.remarks!}" />
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="ChapterInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="ChapterInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/flagGlory/chapter/chapter_info.js"></script>
@}
